- page_title "Snippets", @user.name
%h3.page-title
  = image_tag avatar_icon(@user.email), class: "avatar s24"
  = @user.name
  %span
    \/
    Snippets
  - if current_user
    = link_to new_snippet_path, class: "btn btn-sm add_new pull-right", title: "New Snippet" do
      Add new snippet

%hr

= render 'snippets'
